configure snmpv3 user password-policyNEW!

configure snmpv3 user password-policy [authentication | privacy] [[username-match | char-repeat | long-sequence | char-validation][permit | deny] | history [num_passwords | duration days | none] | min-length [num_characters | none]]

Description

Configures SNMPv3 password policies for all users.

Syntax Description

authentication Specifies authentication scheme.
privacy Specifies privacy.
username-match Specifies the password matches the user name.
char-repeat Specifies the password contains the same letter or number twice in a row.
long-sequence Specifies the password contains a sequence of more than 3 characters in alphabetical, numerical, or kayboard order.
char-validation Specifies the password doesn't contain one of each of upper case and lower case letters, and numbers and special characters.
permit Specifies to permit the selected password policy (Default).
deny Specifies to deny the selected password policy.
history Specifies to check the passwords against passwords stored in the history, either the number of passwords or duration.
none Specifies the specific user password policy is not enforced (Default).
num_passwords Specifies the number of history passwords, between 1 and 10, that new password will be checked against. Range 1,10.
duration Specifies the length of time history will be checked.
days Specifies the password used within the specified number of days can't be reused. Range 1,365.
min-length Specifies the minimum length of password, between 8 and 48 characters.
num_characters Specifies the minimum length of the password, between 8 and 48 characters. Range 8,48.
none Specifies none.

Default

N/A.

Usage Guidelines

Use this command to invoke password policies for passwords (AUTH & PRIV) for an SNMPv3 user. Configuring this command invokes the following restrictions:

The maximum number of passwords stored is 25 each (Auth or Priv) per user.

For every modification of passwords (Auth or Priv), the history is only verified for the last 25 passwords

Example

The following example requires SNMPv3 users to use this specified format for all passwords:

# configure snmpv3 user password-policy authentication username-match deny

History

This command was first available in versoin 33.1.1.

Platform Availability

This command is available on all Universal switches supported in this document.